package com.tedu._04mybatis3_31.mapper;

import com.tedu._04mybatis3_31.pojo.Comment;
import com.tedu._04mybatis3_31.pojo.CommentVo1;
import com.tedu._04mybatis3_31.pojo.CommentVo2;
import org.apache.ibatis.annotations.*;

@Mapper
public interface CommentMapper {
    int insertComment(Comment comment);
    int deleteById(Integer id);
    int updateById(Comment comment);

    CommentVo1 selectCommentById1(Integer id);
    CommentVo2 selectCommentById2(Integer id);
}
